﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SyncList.Business.ValueObject;

namespace SyncList.Business
{


    /// <summary>
    /// Gestion de la base de registres pour l'application
    /// </summary>
    public interface IRegistryService
    {

        /// <summary>
        /// Lire les settings en base de registres
        /// </summary>
        /// <returns></returns>
        SyncListSettings Read();

        /// <summary>
        /// Lire les settings en base de registres en remplissant 
        /// </summary>
        /// <param name="settings">Réglages</param>
        /// <returns></returns>
        void Read(SyncListSettings settings);

        /// <summary>
        /// Ecrire les settings en base de registres
        /// </summary>
        /// <param name="settings"></param>
        void Write(SyncListSettings settings);


    }


}
